package com.yidao.core.service;

import java.util.List;

import com.yidao.core.domain.BaseDomainObject;
import com.yidao.core.domain.SearchCriteria;

public interface BaseDomainObjectService<T extends BaseDomainObject> extends BaseService{
	
	public T getById(Long id);
	
	public List<T> listAll();	

	public List<T> list(SearchCriteria criteria);	
	
	public void create(T object);

	public void update(T object);

	public void delete(T object);

	public void deleteById(Long id);
}
